package com.employee.mapper;

import com.employee.pojo.dto.AuthorityDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AuthorityMapper {
    List<AuthorityDto> getAuthority();

    AuthorityDto getAuthorityById(@Param("id") Integer id);
}
